#
# Be sure to run `pod lib lint JLSettingsModule.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'JLSettingsModule'
  s.version          = '0.1.2'
  s.summary          = '设置模块'

# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don't worry about the indent, CocoaPods strips it!

  s.description      = <<-DESC
设置模块
                       DESC

  s.homepage         = 'https://gitlab.jlpay.com'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'lz156' => 'Jack' }
  s.source           = { :git => 'https://gitlab.jlpay.com/access-services/common-components/ios-component.git',  :tag => "#{s.name}_v#{s.version}" }
  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'

  s.ios.deployment_target = '10.0'
  s.swift_version = '5.0'
  
  s.dependency 'JLNetworkService'
  s.dependency 'JLBase'
  s.dependency 'JLUserDataModule'
  s.dependency 'JLHudManage'
  s.dependency 'JLUIKit'
  s.dependency 'JLZFRouter'
  
  s.dependency 'SnapKit', '~> 5.0.1'
  s.dependency 'RxSwift', '~> 6.2.0'
  s.dependency 'RxCocoa', '~> 6.2.0'


  s.subspec 'Base' do |ss|
    ss.source_files = 'JLSettingsModule/JLSettingsModule/Classes/Base/*'
  end
  
  s.subspec 'Route' do |ss|
    
    ss.dependency 'JLSettingsModule/Controller'
    ss.source_files = 'JLSettingsModule/JLSettingsModule/Classes/Route/*'
  end
  
  s.subspec 'Category' do |ss|
    ss.source_files = 'JLSettingsModule/JLSettingsModule/Classes/Category/*'
  end

  s.subspec 'View' do |ss|
    
    ss.dependency 'JLSettingsModule/Base'
    ss.dependency "JLSettingsModule/Category"
    
    ss.source_files = 'JLSettingsModule/JLSettingsModule/Classes/View/*'
  end
  
  s.subspec 'ViewModel' do |ss|
    
    ss.dependency 'JLSettingsModule/Base'
    ss.dependency "JLSettingsModule/Category"
    
    ss.source_files = 'JLSettingsModule/JLSettingsModule/Classes/ViewModel/*'
  end
  
  s.subspec 'Controller' do |ss|
    
    ss.dependency 'JLSettingsModule/Base'
    ss.dependency 'JLSettingsModule/View'
    ss.dependency "JLSettingsModule/ViewModel"
    ss.dependency "JLSettingsModule/Category"
    
    ss.source_files = 'JLSettingsModule/JLSettingsModule/Classes/Controller/*'
  end
  

  #s.source_files = 'JLSettingsModule/Classes/**/*'
  
  s.resource_bundles = {
    'JLSettingsModule' => ['JLSettingsModule/JLSettingsModule/Assets/*.xcassets']
  }

  # s.public_header_files = 'Pod/Classes/**/*.h'
  # s.frameworks = 'UIKit', 'MapKit'
  # s.dependency 'AFNetworking', '~> 2.3'
end
